package com.cn.proxy;

public class Teacher implements Person {

	private Person p;
	
	public Teacher(Person student) {
		this.p = student;
	}
	
	@Override
	public void eat() {
		System.out.println("检查作业");
		p.eat();
		System.out.println("给成绩");
	}

}
